-
Home
-
Official Integration for Billingo
-
4.2.0 (latest)
-
Code
-
Classes
- Billingo_Document_Generator
Total Complexity |
251 |
Dependencies |
20 |
Dependents |
2 |
Total lines |
1,508 |
Lines of code |
978 |
Logical lines of code |
604 |
Comment lines |
223 |
Methods |
34 |
Properties |
5 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createProductItems() |
D |
13 |
70 |
286 |
applyCouponDiscounts() |
B |
40 |
16 |
52 |
applyItemDiscounts() |
A |
39 |
15 |
60 |
applyBundleDiscounts() |
A |
35 |
13 |
85 |
getFeeVatCode() |
A |
45 |
14 |
40 |
collectDocumentData() |
A |
42 |
12 |
45 |
findOrCreatePartner() |
A |
44 |
8 |
44 |
getCurrencyRate() |
A |
47 |
8 |
35 |
isCouponForShipping() |
A |
53 |
8 |
23 |
getRegularPriceFromItemMeta() |
A |
53 |
8 |
22 |
getNote() |
A |
53 |
8 |
22 |
getShippingVatCode() |
A |
56 |
8 |
18 |
getCalculatedDateForItem() |
S |
52 |
7 |
22 |
overrideTaxOnSingleItem() |
S |
52 |
5 |
25 |
findPartner() |
S |
54 |
5 |
23 |
make() |
S |
53 |
5 |
21 |
selectCallback() |
S |
57 |
4 |
15 |
getPartnerName() |
S |
62 |
4 |
11 |
resolvePaymentMethod() |
S |
57 |
3 |
18 |
resolvePaidType() |
S |
61 |
3 |
12 |
overrideTax() |
S |
65 |
3 |
10 |
get() |
S |
69 |
3 |
7 |
isForbidden() |
S |
66 |
3 |
8 |
hasEraseCode() |
S |
66 |
2 |
8 |
getInvoice() |
S |
65 |
2 |
9 |
getProductSku() |
S |
71 |
2 |
6 |
getSalePriceFromItemMeta() |
S |
64 |
2 |
9 |
getShippingCouponVatCode() |
S |
67 |
2 |
8 |
getVatRateFromCode() |
S |
71 |
2 |
5 |
getProforma() |
S |
65 |
2 |
9 |
isItemDiscountEnabled() |
S |
79 |
1 |
3 |
shouldSendEmail() |
S |
64 |
1 |
9 |
getDraft() |
S |
80 |
1 |
3 |
__construct() |
S |
72 |
1 |
5 |